{% extends "base.html" %}

{% block link %}
<link
      href="{{ url_for('static', filename='css/view.css') }}"
      rel="stylesheet"
    />
{% endblock %}{% block title %}新闻详情{% endblock %} {% block
content %}
<main>
  <div class="news-detail">
    <div class="location">当前位置：首页><a href="{{ url_for("news.news_list") }}">新闻列表</a>>重要新闻</div>
    <h1>{{ article.title }}</h1>
    <div class="desc">
      <div class="desc1">
        发布时间：{{ article.create_time.strftime("%Y-%m-%d %H:%M:%S") }}
      </div>
      <div class="desc2">编辑：{{ user.nick_name }}</div>
      <div class="desc3">浏览次数：{{ article.read_count }}</div>
    </div>
    <div  id="editor-content-view" class="editor-content-view">{{ article.content | safe }}</div>
  </div>
</main>
{% endblock %}
